﻿using UnityEngine;
using System.Collections;

public class CameraAdjustment : MonoBehaviour 
{
	private Camera m_camera;
	// Use this for initialization
	void Start () 
	{
		m_camera = GetComponent<Camera>();
		//m_camera.orthographicSize = 960.0f/Screen.width * Screen.height/2.0f;
		m_camera.orthographicSize = Screen.height / 2.0f;
		Debug.Log("Height : " + Screen.height);
		Debug.Log("Width : " + Screen.width);
		Debug.Log("Ortho Size : " + m_camera.orthographicSize);
		Debug.Log("Camera Size : " + m_camera.pixelRect);
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
